@props([
 'heading',
 'footer',    
])
<head>
    <title>{{ $title ?? 'Todo Manager' }}</title>
</head>
<div {{ $attributes->merge(['class' => 'alert alert-info']) }}>
    <h3 {{ $heading->attributes->class(['border']) }}>{{ $heading }}</h3>
    <p>{{ $slot }}</p>
    <p {{ $footer->attributes->class(['text-gray-700']) }}>{{ $footer }}</p>
</div>